{% extends "base.html" %}

{% block content %}
  <h1 class="mt-5">Search Results for "{{ query }}"</h1>
  <ul class="list-group mt-3">
    {% for note in results %}
      <li class="list-group-item">
        <a href="{{ url_for('view_note', note_id=note.id) }}">{{ note.title }}</a>
      </li>
    {% endfor %}
  </ul>
{% endblock %}
